/*********************************************************************
	\file :           os_commons\datatypes_commons\typedef_OS.h
	\brief:           Operating system datatypes definition.
	\author:          Omar Ramirez
	\version:         1.0
	\date:            Sun, 9, Feb 2014 
*********************************************************************/

#ifndef typedef_OS_H
#define typedef_OS_H

#ifndef NULL
#define NULL  0
#endif

#ifndef NULL_PTR
#define NULL_PTR ((void *) 0)
#endif



#ifndef true
#define true  (boolean)1
#endif

#ifndef false
#define false (boolean)0
#endif

/* MCU derivative header file */
#define __MCU_DERIVATIVE   <mc9s12xep100.h>

 
/********************************************************************************
* Package description: Operating system datatypes definition.                                   
*/
 
/********************************************************************************
* Type definition: unsigned 8 bit definition.             
*/
 
typedef unsigned char u8;

/********************************************************************************
* Type definition: unsigned 16 bit definition.             
*/
 
typedef unsigned short u16;

/********************************************************************************
* Type definition: unsigned 32 bit definition.             
*/
 
typedef unsigned long u32;

/********************************************************************************
* Type definition: signed 8 bit definition.             
*/
 
typedef char s8;

/********************************************************************************
* Type definition: signed 16 bit definition.             
*/
 
typedef short s16;

/********************************************************************************
* Type definition: signed 32 bit definition.             
*/
 
typedef long s32;

/********************************************************************************
* Type definition: Definition for boolean datatypes.             
*/
 
typedef unsigned char boolean;

/********************************************************************************
* Type definition:              
*/
 
typedef void ( * tCallbackFn )( void );
 

#endif
/*********************************************************************
	File	: os_commons\datatypes_commons\typedef_OS.h 
*********************************************************************/
